﻿@{
    ViewData["Title"] = "入金";
}
@section head {
    <style>
        form input.layui-input[disabled], .red1 {
            font-weight: bold;
            color: red !important;
        }

        .red2 {
            font-size: 20px;
            color: red;
        }
    </style>
}
    <form class="layui-form layui-form-pane">
        @Html.AntiForgeryToken()
        @Html.Hidden("Id")
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">金额：</label>
            <div class="layui-input-inline">
                <input type="text" id="Money" name="Money" required lay-verify="required|number" value="0" autocomplete="off" class="layui-input Money" disabled maxlength="4">
            </div>
            <div class="layui-form-mid layui-word-aux">美元</div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">实际金额：</label>
            <div class="layui-input-inline">
                <input type="hidden" id="ExchangeRate" name="ExchangeRate" value="7.75" />
                <input type="text" id="RMBMoney" name="RMBMoney" required lay-verify="required|number" autocomplete="off" class="layui-input RMBMoney" value="0.00">
            </div>
            <div class="layui-form-mid layui-word-aux">元人民币 当前汇率 <span id="txtExchangeRateText" class="red2">1美元等于7.75人民币</span></div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <div class="layui-input-block">
                <button id="btnInCoin" class="layui-btn btnInCoin" lay-submit="" lay-filter="inCoin">提交</button>
            </div>
        </div>
    </form>

@section Scripts {
    <script type="text/javascript" src="~/layui/layui.js"></script>
    <script type="text/javascript" src="~/js/inoutcash/customincoin.js?_=@DateTime.Now.ToString("yyyyMMddHHmmss")"></script>
}
